import {apiResquest} from '@/common/js/request.js'


//  获取通知列表
export const notificationsList = (data) => {
	return apiResquest({
		url: '/api/web/notifications',
		method: 'POST',
		data:data
	})
}

// 获取通知详情
export const notificationsInfo = (data) => {
	return apiResquest({
		url: '/api/web/notificationsInfo',
		method: 'POST',
		data:data
	})
}

//  获取新闻列表
export const newsList = (data) => {
	return apiResquest({
		url: '/api/web/news/list',
		method: 'POST',
		data:data
	})
}

// 获取新闻内容数据
export const newsContent = (data) => {
	return apiResquest({
		url: '/api/web/news/content',
		method: 'POST',
		data:data
	})
}

// 获取钱包账变记录列表
export const changeList = (data) => {
	return apiResquest({
		url: '/api/web/changelist',
		method: 'POST',
		data:data
	})
}

// 获取聊天记录
export const chatRecords = (data) => {
	return apiResquest({
		url: '/api/app/chatrecords',
		method: 'POST',
		data:data
	})
}

// 发送消息
export const chatSend = (data) => {
	return apiResquest({
		url: '/api/app/chatsend',
		method: 'POST',
		data:data
	})
}


